{{!
# Copyright (C) 2011 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
}}

  <div style="width: 600px; margin: 10px auto;">
  <h2>{{title}}</h2>

  <div id="discussion-managebar" class="toolbarView">
    <div class="headerBar">
    </div>
  </div>

  <div id="discussion_container">
    <article id="discussion_topic" class="admin-link-hover-area topic discussion_entry">
      <div class="entry-content">
          {{> views/group_discussion}}
        <header class="discussion-section clearfix">
          <div class="discussion-header-content right-of-avatar">
            <div class="pull-left">
              <h1 class="discussion-title">{{title}}</h1>
              <div class="discussion-subtitle">
		  {{user}}
              </div>
            </div>

            <div class="discussion-header-right pull-right">
              {{> views/new_and_total_badge}}
            </div>
          </div>
        </header>

        <div class="discussion-section message_wrapper">
            <div data-bind="message" class="message user_content">{{message}}</div>
        </div>
      </div>

	<div class="discussion-entry-reply-area reply-box-container hide-if-collapsed hide-if-replying">
	    <div class="notification" data-bind="notification"></div>
	    <a role="button" class="discussion-reply-action discussion-reply-box" data-event="addReply" href="{{reply-href}}">
	      {{> icons/replied}}
	      <span aria-hidden="true">Reply...</span>
	    </a>
	  </div>

    </article>

    <div id="discussion_subentries" class="discussion_subentries">
	<ul class="discussion-entries">
		{{#replies}}
			<li class="entry">
				{{> views/jst/discussions/entry_with_replies}}
			</li>
		{{/replies}}
	</ul>
    </div>

    <div id="filterResults" class="discussion_subentries hidden"></div>

  </div>

    </div>

  <div id="keyboard-shortcut-modal"></div>
